<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/4/16
  Time: 18:33
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>查看</title>
    <link href="https://cdn.bootcss.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet">
    <link href="/static/css/style.min.css?v=4.1.0" rel="stylesheet">
</head>
<body>
<div style="padding: 15px;">
    <table class="table">
        <tr>
            <td>
                <input type="text" class="form-control" id="editor_id" name='content' placeholder="请输入新闻内容"
                       value="&lt;p style=&quot;text-align:center;text-indent:2em;&quot;&gt;	&lt;img src=&quot;/image/20171211/20171211054650_97723.png&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;&lt;p style=&quot;text-align:center;text-indent:2em;&quot;&gt;	&lt;img src=&quot;/image/20171117/20171117012013_77780.jpg&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;">
                <input type="hidden" name='id' value='1'>

            </td>
        </tr>
    </table>

</div>


<script src="/static/js/jquery.min.js"></script>
<script src="/static/js/bootstrap.min.js"></script>
<script src="/static/kindeditor/kindeditor-all-min.js"></script>
<script src="/static/kindeditor/lang/zh-CN.js"></script>
<script src="/static/layer/layer.js"></script>

<script>
    $(function () {
        KindEditor.ready(function (k) {
            window.content = k.create('#editor_id', {
                resizeType: 1,
                allowPreviewEmoticons: false,
                allowImageUpload: false,
                height: '600px',
                items: [
                    'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline',
                    'removeformat', '|', 'multiimage', '|', 'quickformat', 'lineheight', 'justifyleft', 'justifycenter', 'justifyrigh', 'justifyfull']
            });
        });
        if (0 == 1) parent.layer.closeAll('iframe');
    })
</script>
</body>


</html>
